﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NodeBasedSkillEditor.Model.CommandHistory
{
    public class Cmd_ChangeNodeDescription : CommandRecord
    {
        public override ECommandType CmdType => ECommandType.ChangeNodeDescription;

        public uint NodeId;
        public string OldDescription;
        public string NewDescription;

        public Cmd_ChangeNodeDescription(uint nodeId, string oldDescription, string newDescription)
        {
            NodeId = nodeId;
            OldDescription = oldDescription;
            NewDescription = newDescription;
        }
    }
}
